package com.jqb.hibernatebbs.pojo;

import java.io.Serializable;
/***
 * 
 * @author Dong
 *
 */
public class Bbsmsg implements Serializable {

	private static final long serialVersionUID = 1L;

	private int id;
	//消息内容
	private String msg;
	//发送时间
	private String posttime;
	//消息接收者
	private Bbsuser receiver;
	//消息发送者
	private Bbsuser sender;
	
	public Bbsmsg() {
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getPosttime() {
		return posttime;
	}

	public void setPosttime(String posttime) {
		this.posttime = posttime;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Bbsuser getReceiver() {
		return receiver;
	}

	public void setReceiver(Bbsuser receiver) {
		this.receiver = receiver;
	}

	public Bbsuser getSender() {
		return sender;
	}

	public void setSender(Bbsuser sender) {
		this.sender = sender;
	}


}
